-- GENERATED SPELL FOR [Seer Graytongue] --


function spell0_2982(pUnit, Event) --@Mark of the Wild,n/a--
pUnit:FullCastSpellOnTarget(1126,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2982', 631, 1)
end

function Sorts_2982(pUnit, Event)
local choix_sorts_2982 = math.random(0, 0)
if choix_sorts_2982 == 0 then
pUnit:RegisterEvent('spell0_2982', 1, 1)
end
end

function mob2982_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2982', math.random(1500, 3000), 1)
end

function mob2982_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2982_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2982_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2982, 1, 'mob2982_Action')
RegisterUnitEvent(2982, 2, 'mob2982_Leave')
RegisterUnitEvent(2982, 3, 'mob2982_Kill')
RegisterUnitEvent(2982, 4, 'mob2982_Die')
